package com.atguigu.springcloud.alibaba.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author timiv
 */
@Mapper
public interface AccountMapper {

    void subMoney(@Param("userId")Long userId, @Param("money")BigDecimal money);
}
